if(!window.xflib || !window.xflib.client) window.xflib = { client: {} }

// 模块
window.xflib.client.Project = class Project {
    constructor(code, name, url, category, serial = 0, permissions = [], productCode = '') {
        this.code = code;     // id
        this.name = name; // 项目名称
        this.url = url; // 项目地址
        this.category = category; // 模块分类
        this.serial = serial; // 排序
        this.permissions = permissions; // 权限
        this.productCode = productCode; // 所属产品代码
        //this.validate();
    }

}; 